package com.topc.problem.model.commit;



import com.topc.oj.enums.LanguageTypeEnum;

import java.util.List;

public class CodeCommitList {

    private final String code;

    private final List<String> inputs;

    private LanguageTypeEnum languageTypeEnum;

    private final int timeLimit;

    private final int memoryLimit;


    public CodeCommitList(String code, List<String> inputs, LanguageTypeEnum languageTypeEnum, int timeLimit, int memoryLimit) {
        this.code = code;
        this.inputs = inputs;
        this.languageTypeEnum = languageTypeEnum;
        this.timeLimit = timeLimit;
        this.memoryLimit = memoryLimit;
    }

    public String getCode() {
        return code;
    }

    public List<String> getInputs() {
        return inputs;
    }

    public LanguageTypeEnum getLanguageTypeEnum() {
        return languageTypeEnum;
    }

    public int getTimeLimit() {
        return timeLimit;
    }

    public int getMemoryLimit() {
        return memoryLimit;
    }
}
